 /* 
 * File:   cItemCollisionEvent.cpp
 * Author: josep
 * 
 * Created on 30 / desembre / 2010, 19:58
 */

#include "cItemCollisionEvent.h"
#include "cPhysicalReaction.h"

cItemCollisionEvent::cItemCollisionEvent(int collisonType, cPositionedObject* item)
            :cPhysicalReaction(cPhysicalReaction::ITEM_COLLISION, collisonType){
    this->Item=item;
}

cItemCollisionEvent::cItemCollisionEvent(const cItemCollisionEvent& orig)
                                                    :cPhysicalReaction(orig) {
    this->Item=orig.Item;
}

cItemCollisionEvent::~cItemCollisionEvent() {
}
cPositionedObject* cItemCollisionEvent::GetItem() const {
    return Item;
}

